package com.bilgeadam.hibernate.model.dal;

import java.util.List;

import com.bilgeadam.hibernate.model.entity.GenericEntity;

/**
 * 
 * @author Bora SAYINER
 * @since Nov 21, 2014 3:57:30 PM
 * @version 1.0.0
 */
public interface GenericDal<T, E extends GenericEntity<T>> {

	public abstract List<E> getAll();

	public abstract E findById(T id);

	public abstract boolean add(E entity);

	public abstract boolean delete(E entity);

	public abstract boolean update(E entity);

}
